[INFO] cloning repository https://github.com/TuckerBMorgan/WeightStore
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TuckerBMorgan/WeightStore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuckerBMorgan%2FWeightStore", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuckerBMorgan%2FWeightStore'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e4bdeaf938461afc90ba65c4113f24ffc30147e0
[INFO] checking TuckerBMorgan/WeightStore against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuckerBMorgan%2FWeightStore" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/TuckerBMorgan/WeightStore
[INFO] finished tweaking git repo https://github.com/TuckerBMorgan/WeightStore
[INFO] tweaked toml for git repo https://github.com/TuckerBMorgan/WeightStore written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/TuckerBMorgan/WeightStore on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/TuckerBMorgan/WeightStore already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ndarray-rand v0.11.0
[INFO] [stderr]   Downloaded num-integer v0.1.43
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.8
[INFO] [stderr]   Downloaded matrixmultiply v0.2.3
[INFO] [stderr]   Downloaded ndarray v0.13.1
[INFO] [stderr]   Downloaded libc v0.2.74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 793c0354d5a5953c35856867fe9efbc1b02da5f38da8cc72c68a99d2319007fd
[INFO] running `Command { std: "docker" "start" "793c0354d5a5953c35856867fe9efbc1b02da5f38da8cc72c68a99d2319007fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "793c0354d5a5953c35856867fe9efbc1b02da5f38da8cc72c68a99d2319007fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "793c0354d5a5953c35856867fe9efbc1b02da5f38da8cc72c68a99d2319007fd" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "793c0354d5a5953c35856867fe9efbc1b02da5f38da8cc72c68a99d2319007fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "793c0354d5a5953c35856867fe9efbc1b02da5f38da8cc72c68a99d2319007fd" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling ndarray v0.13.1
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking matrixmultiply v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]     Checking ndarray-rand v0.11.0
[INFO] [stderr]     Checking weight_store v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ndarray::prelude::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Zip`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::Zip;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::stores::*`
[INFO] [stdout]  --> src/layers/relu.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use crate::stores::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Zip`
[INFO] [stdout]  --> src/layers/dense.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::Zip;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::stores::*`
[INFO] [stdout]  --> src/layers/dense.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use crate::stores::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Zip`
[INFO] [stdout]  --> src/layers/conv2d.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::Zip;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::stores::*`
[INFO] [stdout]  --> src/layers/conv2d.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use crate::stores::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/layers/conv2d.rs:98:43
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let size_of_image_with_channels = (size_of_image * size_of_image);
[INFO] [stdout]    |                                           ^                             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -         let size_of_image_with_channels = (size_of_image * size_of_image);
[INFO] [stdout] 98 +         let size_of_image_with_channels = size_of_image * size_of_image;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `layers::*`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use layers::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]  --> src/stores/weight_store.rs:7:56
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn new(start_index: usize, dimensions: Vec<usize>, id: usize) -> WeightToken {
[INFO] [stdout]   |                                                        ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/layers/conv2d.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let mut for_windowing = Array::zeros((full_convulutions_size, full_convulutions_size));
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weight_matrix`
[INFO] [stdout]    --> src/layers/conv2d.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 | ...   let weight_matrix = Array::from_shape_vec((weights.dimensions[0], weights.dimensions[1], weights.dimensions[2]), weights_arra...
[INFO] [stdout]     |           ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight_matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_weight_token`
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let test_weight_token = weight_store.add_weights(vec![1.0, 1.0, 1.0, 1.0], vec![2, 2]);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_weight_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/layers/conv2d.rs:52:65
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 single_filter_all_channels.extend(filter_weights.clone());
[INFO] [stdout]    |                                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[f32]` does not implement `Clone`, so calling `clone` on `&[f32]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]    --> src/layers/conv2d.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     for_windowing[[two_d_index.0, two_d_index.1]] - image_weights[one_d_index];
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     let _ = for_windowing[[two_d_index.0, two_d_index.1]] - image_weights[one_d_index];
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::prelude::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Zip`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::Zip;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::stores::*`
[INFO] [stdout]  --> src/layers/relu.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use crate::stores::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Zip`
[INFO] [stdout]  --> src/layers/dense.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::Zip;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::stores::*`
[INFO] [stdout]  --> src/layers/dense.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use crate::stores::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Zip`
[INFO] [stdout]  --> src/layers/conv2d.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::Zip;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::stores::*`
[INFO] [stdout]  --> src/layers/conv2d.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use crate::stores::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/layers/conv2d.rs:98:43
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let size_of_image_with_channels = (size_of_image * size_of_image);
[INFO] [stdout]    |                                           ^                             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -         let size_of_image_with_channels = (size_of_image * size_of_image);
[INFO] [stdout] 98 +         let size_of_image_with_channels = size_of_image * size_of_image;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `layers::*`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use layers::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]  --> src/stores/weight_store.rs:7:56
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn new(start_index: usize, dimensions: Vec<usize>, id: usize) -> WeightToken {
[INFO] [stdout]   |                                                        ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/layers/conv2d.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let mut for_windowing = Array::zeros((full_convulutions_size, full_convulutions_size));
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weight_matrix`
[INFO] [stdout]    --> src/layers/conv2d.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 | ...   let weight_matrix = Array::from_shape_vec((weights.dimensions[0], weights.dimensions[1], weights.dimensions[2]), weights_arra...
[INFO] [stdout]     |           ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight_matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_weight_token`
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let test_weight_token = weight_store.add_weights(vec![1.0, 1.0, 1.0, 1.0], vec![2, 2]);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_weight_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/layers/conv2d.rs:52:65
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 single_filter_all_channels.extend(filter_weights.clone());
[INFO] [stdout]    |                                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[f32]` does not implement `Clone`, so calling `clone` on `&[f32]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]    --> src/layers/conv2d.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     for_windowing[[two_d_index.0, two_d_index.1]] - image_weights[one_d_index];
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     let _ = for_windowing[[two_d_index.0, two_d_index.1]] - image_weights[one_d_index];
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.10s
[INFO] running `Command { std: "docker" "inspect" "793c0354d5a5953c35856867fe9efbc1b02da5f38da8cc72c68a99d2319007fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "793c0354d5a5953c35856867fe9efbc1b02da5f38da8cc72c68a99d2319007fd", kill_on_drop: false }`
[INFO] [stdout] 793c0354d5a5953c35856867fe9efbc1b02da5f38da8cc72c68a99d2319007fd
